package cn.tedu.finance.mapper;

import cn.tedu.finance.pojo.dto.InvoiceQuery;
import cn.tedu.finance.pojo.entity.Invoice;
import cn.tedu.finance.pojo.vo.InvoiceVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InvoiceMapper {
    List<InvoiceVO> selectInvoice(InvoiceQuery invoiceQuery);

    void saveInvoice(Invoice invoice);

    void cancelApplication(Long id);
}
